package com.csy.property.community.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.csy.property.community.domain.AjUnit;
import com.csy.property.community.domain.vo.RoomTree;

import java.util.List;

/**
 * 单元接口
 */
public interface AjUnitService extends IService<AjUnit> {

    //根据条件查询单元集合
    List<AjUnit> selectUnitList(AjUnit ajUnit);

    //根据id查询
    AjUnit getById(Long unitId);

    //添加
    int add(AjUnit ajUnit);

    //更新
    int updateUnit(AjUnit ajUnit);

    //删除
    int deleteAjUnit(Long[] ids);

    //查询下拉
    List<RoomTree> queryPullDownRoom(AjUnit ajUnit);
    //查询下拉
    List<RoomTree> queryPullAreaBuildUnit(AjUnit ajUnit);
}
